#include "Dog.h"


Dog::Dog(SceneManager *creator,const String name, int dogSpecies)
{

	Dog::_species = dogSpecies;

	switch(_species){
	case DOG_FIGHTER:
		_graphicEntity = creator->createEntity(name,"ninja.mesh");
		break;
	case DOG_RUNNER:
		_graphicEntity = creator->createEntity(name,"fish.mesh");
		
		break;
	case DOG_SPEAKER:
		_graphicEntity = creator->createEntity(name,"fish.mesh");
		break;
	}

	_body = creator->getRootSceneNode()->createChildSceneNode(name);
	_body->attachObject(_graphicEntity);
}


Dog::~Dog(void)
{
}


int Dog::getSpecies()
{
	return Dog::_species;
}